package com.neu.pojo;

public class Worker {//工人，医生，护工等
	private String number;//工人账号
	private String password;//密码
	private String name;//名字
	private String birthday;//生日
	private String kind;//专长
	private String job;//职称
	private String phone;//手机号
	
	//构造
	public Worker() {
		super();
	}
	public Worker(String number) {
		super();
		this.number = number;
	}
	public Worker(String number, String password) {
		super();
		this.number = number;
		this.password = password;
	}
	public Worker(String number, String password, String name, String birthday, String kind, String job, String phone) {
		super();
		this.number = number;
		this.password = password;
		this.name = name;
		this.birthday = birthday;
		this.kind = kind;
		this.job = job;
		this.phone = phone;
	}
	//set and get
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	@Override
	public String toString() {
		return "{\"number\":\"" + number + "\",\"password\":\"" + password + "\",\"name\":\"" + name
				+ "\",\"birthday\":\"" + birthday + "\",\"kind\":\"" + kind + "\",\"job\":\"" + job + "\",\"phone\":\""
				+ phone + "\"}";
	}
}
